﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using XiMiModel;

namespace XiMiDal
{
    public class AppDbContext:DbContext
    {
        public AppDbContext(DbContextOptions<AppDbContext> options):base(options)
        {

        }
        public DbSet<UserModel> Users { get; set; }
        public DbSet<CityModel> Citys { get; set; }
        public DbSet<OrderModel> Orders { get; set; }
        public DbSet<ShopModel> Shops { get; set; }
        public DbSet<GoodsModel> Goodss { get; set; }
        public DbSet<AddressModel> Addresss { get; set; }
        public DbSet<OrdersModel> Orderss { get; set; }
    }
}
